package com.casstime.ec.cloud.values.giftPromotion;

import java.util.Date;
import java.util.List;

import com.casstime.ec.cloud.values.Value;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import lombok.Getter;
import lombok.Setter;
/**
 * 
 * ClassName: GiftDeduction 
 * Function: (赠品扣减父类)
 * Reason: ADD REASON(可选).
 *  
 * @author hongcheng.wu  
 * 2018年4月3日 下午4:14:27
 * @version   
 * @since JDK 1.8
 */
@JsonIgnoreProperties(ignoreUnknown = true)//忽略类中不存在的字段，比如json字符串中有个aaa:123,则不会进行转换
@JsonInclude(value = Include.NON_NULL)
public class GiftDeduction implements Value {
	
	@Getter @Setter private String id;
	@Getter @Setter private String orderId; //订单id
	@Getter @Setter private String orderAmount; //订单金额
	@Getter @Setter private String companyId; //维修厂公司id
	@Getter @Setter private String companyName; //维修厂名称
	@Getter @Setter private Date orderTime; //下单时间
	
	
	@Getter @Setter private List<GiftDeductionProduct> products;

	@Override
	public boolean validate() {
		// TODO Auto-generated method stub
		return false;
	}
}
